^ What's the point?
^ Drop Target Files & Picture in shareware and commercial software?
^ Deciding whether to accept a drag-over

Download :: Top
Drop Target Files & Picture

Drop Target Files & Picture is a small Delphi component that implements the IDropTarget interface for use in Win32 and Win64 (XP/Vista/7/8/10/11) software.
Easily implement file, or multiple files, and dropping picture from Google Chrome on specified control handles (eg. TForm, TPanel, etc.).

Features:
  • Receive file or multiple files drop
  • Receive picture file drop from Google Chrome or any other app. that uses the same method as Chrome
  • Specify multiple drop target handles
  • Full unicode support
  • Pure Delphi code, no external dependencies
The component supports any file drag-drop from Chrome not just pictures.

Drop Target Files & Picture in shareware and commercial software?

The component comes with full source code and can be evaluated freely. If you like it and decide to use it in a freeware, shareware or commercial (or any other money making - advertising, in app. selling, etc.) product one of the licenses is needed.


Deciding whether to accept a drag-over

Implement the 'OnAccept' event. To get more information for the drag-over call the 'GetFileListFromObj()' or 'GetPictureFileNameFromObj()' (or 'GetPictureFromObj()' - is probably not needed but posssible) methods.
The parameter 'AcceptType' reports the detected input - so it can be used to decide which 'Get' method to call.
Set the 'Accept' paremeter as needed.
Note that calling the 'Get' methods might be slow.


[Top]